﻿<%@ Page Language="C#" MasterPageFile="~/admin/CPanel.master" AutoEventWireup="True"
    Codebehind="Default.aspx.cs" Inherits="ControlPanel_System_Default" Title="系统配置"
    StylesheetTheme="MainStyle" %>


<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <br />
    <h3 style="text-align: center">
        系统配置 
        <br />
    </h3>
    <div align="center">
        &nbsp; 是否允许新用户注册
        <asp:RadioButtonList ID="rbl_AllowReg" runat="server" RepeatDirection="Horizontal"
            RepeatLayout="Flow">
            <asp:ListItem Value="true">是</asp:ListItem>
            <asp:ListItem Value="false">否</asp:ListItem>
        </asp:RadioButtonList><br />
        <br />
        新用户是否需要审核
        <asp:RadioButtonList ID="rbl_NeedApproved" runat="server" RepeatDirection="Horizontal"
            RepeatLayout="Flow">
            <asp:ListItem Value="true">是</asp:ListItem>
            <asp:ListItem Value="false">否</asp:ListItem>
        </asp:RadioButtonList><br />
        <br />        
       
        <br />
        &nbsp;<asp:Button ID="btn_OnlineCount" runat="server" OnClick="btn_OnlineCount_Click"
            Text="把在线用户初始化为0" />
        <asp:Button ID="btn_Visit" runat="server" OnClick="btn_Visit_Click" Text="把访问量初始化为0" /><br />
        <br />
        注：保存需要有写文件权限，如果没有，请手动修改Membership.config文件
        <br />
        <br />
        <asp:Button ID="btn_Save" runat="server" Text="保存配置" OnClick="btn_Save_Click" />
        <asp:Label ID="lbl_Tips" runat="server" ForeColor="Red"></asp:Label></div>
</asp:Content>
